-- GENERATED SPELL FOR [Jormungar Tunneler] --


function spell0_26467(pUnit, Event) --@Corrode Flesh,n/a--
pUnit:FullCastSpellOnTarget(51879,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26467', 17000, 1)
end

function Sorts_26467(pUnit, Event)
local choix_sorts_26467 = math.random(0, 0)
if choix_sorts_26467 == 0 then
pUnit:RegisterEvent('spell0_26467', 1, 1)
end
end

function mob26467_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26467', math.random(1500, 3000), 1)
end

function mob26467_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26467_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26467_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26467, 1, 'mob26467_Action')
RegisterUnitEvent(26467, 2, 'mob26467_Leave')
RegisterUnitEvent(26467, 3, 'mob26467_Kill')
RegisterUnitEvent(26467, 4, 'mob26467_Die')
